﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LuckyDraw.WinUI
{
	public partial class DrawPeopleForm : Form
	{
		public DrawPeopleForm()
		{
			InitializeComponent();
			this.Load += DrawPeopleForm_Load;
		}

		void DrawPeopleForm_Load(object sender, EventArgs e)
		{
			this.Shown += DrawPeopleForm_Shown;
		}

		void DrawPeopleForm_Shown(object sender, EventArgs e)
		{
			List<DrawPeople> list = DB.SelectDrawPeople();
			bindingSource1.DataSource = list;
		}
	}
}
